<template>
  <basicModal @register="modalRegister" ref="modalRef" class="basicModal" @on-ok="">
    <template #default>
      <BasicForm @register="register" @reset="handleReset" class="basicForm">
        <template #statusSlot="{ model, field }">
          <n-input v-model:value="model[field]" />
        </template>
      </BasicForm>
    </template>
  </basicModal>
</template>
<script lang="ts">
import { h, reactive, ref } from "vue";
import { BasicTable, TableAction } from "@/components/Table";
import { BasicForm, FormSchema, useForm } from "@/components/Form/index";
import { getConsoleInfo } from "@/api/dashboard/console";
import { columns, ListData } from "@/views/setting/versioning/columns";
import { useRouter } from "vue-router";
import { type FormRules } from "naive-ui";
import { schemasVer } from "@/config/options";

const [register, { submit }] = useForm({
  gridProps: { cols: 1 },
  collapsedRows: 3,
  labelWidth: 120,
  layout: "horizontal",
  submitButtonText: "提交预约",
  showActionButtonGroup: false,
  schemas,
});
</script>
